Skip to content

fix: clean up cancelled LockMap acquirers - #51

Merged
pathscale merged 1 commit into
fix/overwrite-inplace-v2from
fix/33-cancelled-lock-acquirer
Aug 4, 2026
Merged

fix: clean up cancelled LockMap acquirers#51
pathscale merged 1 commit into
fix/overwrite-inplace-v2from
fix/33-cancelled-lock-acquirer

Conversation

@pathscale

Copy link
Copy Markdown
Owner

Fixes #33.

Tracks pending lock acquirers explicitly with an RAII handle, so cancellation between lookup and lock registration cannot leave an empty LockMap entry behind. Cleanup waits for every pending acquirer and active lock holder.

Regression coverage:

  • cancelled_acquirer_removes_the_abandoned_entry
  • cleanup_waits_for_every_acquirer_to_drop

Stacked on #48.

Validation:

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test

@pathscale
pathscale merged commit ef3b90c into fix/overwrite-inplace-v2 Aug 4, 2026
@pathscale
pathscale deleted the fix/33-cancelled-lock-acquirer branch August 4, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant